-- GENERATED SPELL FOR [Kaliri Matriarch] --


function spell0_17035(pUnit, Event) --@Wing Buffet,Self--
pUnit:FullCastSpellOnTarget(32914,pUnit)
pUnit:RegisterEvent('Sorts_17035', 1000, 1)
end

function Sorts_17035(pUnit, Event)
local choix_sorts_17035 = math.random(0, 0)
if choix_sorts_17035 == 0 then
pUnit:RegisterEvent('spell0_17035', 1, 1)
end
end

function mob17035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17035', math.random(1500, 3000), 1)
end

function mob17035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17035, 1, 'mob17035_Action')
RegisterUnitEvent(17035, 2, 'mob17035_Leave')
RegisterUnitEvent(17035, 3, 'mob17035_Kill')
RegisterUnitEvent(17035, 4, 'mob17035_Die')
